import request from '@/utils/request'

export function monitorPartnersAdd(obj) {
  return request({
    url: '/videos/monitorPartners/add',
    method: 'post',
    data: obj
  })
}

export function mocking(obj) {
  return request({
    url: '/videos/logs/mocking',
    method: 'post',
    data: obj
  })
}


export function monitorPartnersList(obj) {
  return request({
    url: '/videos/monitorPartners/list',
    method: 'get',
    params: obj
  })
}

export function unusualClear(obj) {
  return request({
    url: '/videos/logs/unusualClear',
    method: 'get',
    params: obj
  })
}

export function logsClear(obj) {
  return request({
    url: '/videos/logs/logsClear',
    method: 'get',
    params: obj
  })
}



export function monitorPartnersDelete(obj) {
  return request({
    url: '/videos/monitorPartners/delete',
    method: 'delete',
    params: obj
  })
}

export function monitorPartnersUpdate(obj) {
  return request({
    url: '/videos/monitorPartners/update',
    method: 'put',
    data: obj
  })
}

export function monitorPartnersStatus(obj) {
  return request({
    url: '/videos/monitorPartners/status',
    method: 'put',
    data: obj
  })
}

export function monitorTypes(obj) {
  return request({
    url: '/videos/logs/monitorTypes',
    method: 'get',
    params: obj
  })
}

export function monitorPartnersHasUnusual(obj) {
  return request({
    url: '/videos/monitorPartners/hasUnusual',
    method: 'get',
    params: obj
  })
}

export function monitorLogs(obj) {
  return request({
    url: '/videos/logs/list',
    method: 'get',
    params: obj
  })
}

export function unusualLogs(obj) {
  return request({
    url: '/videos/logs/unusual',
    method: 'get',
    params: obj
  })
}

export function datasPan(obj) {
  return request({
    url: '/videos/monitorPartners/datasPan',
    method: 'get',
    params: obj
  })
}

export function dayData(obj) {
  return request({
    url: '/videos/monitorPartners/dayData',
    method: 'get',
    params: obj
  })
}
